<?php


use Illuminate\Support\Facades\Route;


    //商品添加页面
    Route::get('goodsAllAdd',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsAllAdd'])->name('goodsAllAdd');
    //商品添加
    Route::post('goodsAllAdds',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsAllAdds'])->name('goodsAllAdds');
    Route::get('goodsPage',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsPage'])->name('goodsPage');
    //商品一级
    Route::get('goodsOneCate',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsOneCate'])->name('goodsOneCate');
    //商品二级
    Route::get('goodsTwoCate',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsTwoCate'])->name('goodsTwoCate');
    //商品三级
    Route::get('goodsThreeCate',[\App\Http\Controllers\Goods\GoodsFrameworkController::class,'goodsThreeCate'])->name('goodsThreeCate');
//商品秒杀
    //下单减库存
    Route::get('seckill',[\App\Http\Controllers\Goods\SeckillController::class,'seckill']);
    //库存预热
    Route::get('preheatStock',[\App\Http\Controllers\Goods\SeckillController::class,'preheatStock']);

    //商品分类展示
    Route::post('goodsCategoryPage',[\App\Http\Controllers\Goods\GoodsCategoryController::class,'goodsCategoryPage'])->name('goodsCategoryPage');
    //商品分类添加
    Route::get('goodsCategoryAdd',[\App\Http\Controllers\Goods\GoodsCategoryController::class,'goodsCategoryAdd'])->name('goodsCategoryAdd');
    //商品分类
    Route::post('goodsCategoryAll',[\App\Http\Controllers\Goods\GoodsCategoryController::class,'goodsCategoryAll'])->name('goodsCategoryAll');
    //商品分类详情
    Route::post('goodsCategoryRead',[\App\Http\Controllers\Goods\GoodsCategoryController::class,'goodsCategoryRead'])->name('goodsCategoryRead');
